  @include('admin.header');
  <div class="layui-body">
  <div style="margin-left:30px;margin-top:20px">
    <h1 style="font-size:100px">:)</h1>
    <p style="font-size:30px">{[$msg]}<strong id="endtime"></strong>秒后返回..</p>
  <div>
</div>
<script src="/layui/layui/layui.js"></script>
<script>

layui.use('element', function(){
  var element = layui.element(); //导航的hover效果、二级菜单等功能，需要依赖element模块
   
});


</script>

<script type="text/javascript">
var i = {[$time]};
function remainTime(){  
    if(i==0){  
        //window.history.go(-1);
       location.href ="{[$url]}";
       
    }  
    document.getElementById('endtime').innerHTML=i--;  
    setTimeout("remainTime()",1000);  
}  

remainTime();  



</script>

